
{extends file="../acp.html"}

{block name="title"}{$head_title}{/block}
{block name="content"}
{if $order_info.order_type== 2 && $order_info.incubator_type == 2}
<div class="t-detail-top">
    <div class="top-tit">
        当前订单（{$order_info.order_sn}）状态：{$order_info.state}
    </div>
</div>
{/if}
<div class="t-detail-goods">
    <div class="t-detail-goods-tit mag">基本信息：</div>
    <div class="t-detail-goods-con t-buser">
        <table class="wxtables tables-form">
            <colgroup>
                <col width="10%">
                <col width="90%">
            </colgroup>
            <tbody>
            <tr>
                <td class="tables-form-title">孵化器名称：</td>
                <td>{if $order_info.incubator_name}{$order_info.incubator_name}{else}--{/if}</td>
            </tr>
            <tr>
                <td class="tables-form-title">预约类型：</td>
                <td>{if $order_info.order_type==1}参观{else}入驻{/if}</td>
            </tr>
            <tr>
                <td class="tables-form-title">预约时间：</td>
                <td>{if $order_info.order_time}{date('Y-m-d',$order_info.order_time)}{else}--{/if}</td>
            </tr>

            <tr>
                <td class="tables-form-title">公司名称：</td>
                <td>{if $order_info.company_name}{$order_info.company_name}{else}--{/if}</td>
            </tr>
            <tr>
                <td class="tables-form-title">联系人：</td>
                <td>{if $order_info.contacts}{$order_info.contacts}{else}--{/if}</td>
            </tr>
            <tr>
                <td class="tables-form-title">联系方式：</td>
                <td>{if $order_info.contact_number}{$order_info.contact_number}{else}--{/if}</td>
            </tr>

            {if $order_info.order_type==1}
            <tr>
                <td class="tables-form-title">参观人数：</td>
                <td>{if $order_info.visit_num}{$order_info.visit_num}{else}--{/if}</td>
            </tr>
            {/if}

            {if $order_info.order_type== 2 && $order_info.incubator_type == 2}
            <tr>
                <td class="tables-form-title"> 工位类型：</td>
                <td>{if $order_info.station_name}{$order_info.station_name}{else}--{/if}</td>
            </tr>
            <tr>
                <td class="tables-form-title">入驻天数：</td>
                <td>{if $order_info.day_num}{$order_info.day_num}{else}--{/if}</td>
            </tr>
            <tr>
                <td class="tables-form-title">工位数量：</td>
                <td>{if $order_info.station_num}{$order_info.station_num}{else}--{/if}</td>
            </tr>
            {/if}

            {if $order_info.order_type== 2 && $order_info.incubator_type == 1}
            <tr>
                <td class="tables-form-title">预约面积：</td>
                <td>{if $order_info.station_num}{$order_info.station_num}{else}--{/if}</td>
            </tr>
           {/if}

            <tr>
                <td class="tables-form-title">用户备注：</td>
                <td>{if $order_info.user_remarks}{$order_info.user_remarks}{else}--{/if}</td>
            </tr>
            <tr>
                <td class="tables-form-title">管理员备注：</td>
                <td>{if $order_info.admin_remarks}{$order_info.admin_remarks}{else}--{/if}</td>
            </tr>
            </tbody>
        </table>
    </div>

    {if $order_info.order_type== 2 && $order_info.incubator_type == 2}
    <div class="t-detail-goods-tit mag">支付信息：</div>
    <div class="t-detail-goods-con t-buser">
        <table class="wxtables tables-form">
            <colgroup>
                <col width="10%">
                <col width="90%">
            </colgroup>
            <tbody>
            <tr>
                <td class="tables-form-title">支付方式：</td>
                <td>{if $order_info.payway == 'mobile_alipay'}支付宝支付{elseif  $order_info.payway == 'wxpay'}微信支付{else}--{/if}</td>
            </tr>
            <tr>
                <td class="tables-form-title">支付时间：</td>
                <td>{if $order_info.pay_time}{$order_info.pay_time|date_format:"%Y-%m-%d %H:%M"}{else}--{/if}</td>
            </tr>
            <tr>
                <td class="tables-form-title">订单总金额：</td>
                <td>{$order_info.total_amount}</td>
            </tr>
            <tr>
                <td class="tables-form-title">实际支付金额：</td>
                <td>{$order_info.pay_amount}</td>
            </tr>
            <!-- <tr>
                <td class="tables-form-title">已消费金额：</td>
                <td>{$info.consumed_money}</td>
            </tr> -->
            </tbody>
        </table>
    </div>
    {/if}
</div>
{/block}

{block name="js"}
{literal}
<style>
    #jpops .fi-name{width:100px;}
    #jpops .form-controls{margin-left:100px;}
</style>
{/literal}
{/block}

{block name="css"}
<link rel="stylesheet" href="/Public/Css/acp/AcpOrder/order_detail.css" type="text/css" />
{/block}
